home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / patches / ami301c.zip / FLWCURVE.SM$ / FLWCURVE.SMM
INI File  |  1993-05-19  |  29KB  |  1,682 lines

  1. [ver]
  2.     4
  3. [sty]
  4.     _MACRO.STY
  5. [files]
  6. [charset]
  7.     82
  8.     ANSI (Windows, IBM CP 1252)
  9. [revisions]
  10.     0
  11. [prn]
  12.     Apple LaserWriter Plus
  13. [port]
  14.     LPT1:
  15. [lang]
  16.     1
  17. [desc]
  18.     Curves text in Ami Pro using Freelance
  19.     
  20.     
  21.     
  22.     
  23.     737872261
  24.     40
  25.     731818190
  26.     1744
  27.     7
  28.     0
  29.     0
  30.     0
  31.     0
  32.     
  33.     
  34.     
  35.     
  36.     
  37.     
  38.     1
  39. [fopts]
  40.     0
  41.     1
  42.     0
  43.     0
  44. [lnopts]
  45.     2
  46.     Body Text
  47.     1
  48. [docopts]
  49.     5
  50.     2
  51. [GramStyle]
  52.     
  53. [ParaNum]
  54.     1
  55. [tag]
  56.     Body Text
  57.     2
  58.     [fnt]
  59.         Times New Roman
  60.         200
  61.         0
  62.         16384
  63.     [algn]
  64.         1
  65.         1
  66.         216
  67.         0
  68.         0
  69.     [spc]
  70.         33
  71.         273
  72.         1
  73.         0
  74.         0
  75.         1
  76.         100
  77.     [brk]
  78.         4
  79.     [line]
  80.         8
  81.         0
  82.         1
  83.         0
  84.         1
  85.         1
  86.         1
  87.         10
  88.         10
  89.         1
  90.     [spec]
  91.         0
  92.         0
  93.         
  94.         0
  95.         1
  96.         1
  97.         0
  98.         16
  99.         0
  100.         0
  101.     [nfmt]
  102.         272
  103.         1
  104.         3
  105.         .
  106.         ,
  107.         $
  108.     Body Text
  109.     0
  110.     0
  111. [tag]
  112.     Body Single
  113.     3
  114.     [fnt]
  115.         Times New Roman
  116.         240
  117.         0
  118.         49152
  119.     [algn]
  120.         1
  121.         1
  122.         0
  123.         0
  124.         0
  125.     [spc]
  126.         33
  127.         273
  128.         1
  129.         0
  130.         0
  131.         1
  132.         100
  133.     [brk]
  134.         4
  135.     [line]
  136.         8
  137.         0
  138.         1
  139.         0
  140.         1
  141.         1
  142.         1
  143.         10
  144.         10
  145.         1
  146.     [spec]
  147.         0
  148.         0
  149.         
  150.         0
  151.         1
  152.         1
  153.         0
  154.         0
  155.         0
  156.         0
  157.     [nfmt]
  158.         280
  159.         1
  160.         2
  161.         .
  162.         ,
  163.         $
  164.     Body Single
  165.     0
  166.     0
  167. [tag]
  168.     Function
  169.     4
  170.     [fnt]
  171.         Times New Roman
  172.         240
  173.         0
  174.         16385
  175.     [algn]
  176.         1
  177.         1
  178.         0
  179.         0
  180.         0
  181.     [spc]
  182.         33
  183.         244
  184.         1
  185.         0
  186.         0
  187.         1
  188.         100
  189.     [brk]
  190.         68
  191.     [line]
  192.         8
  193.         0
  194.         1
  195.         0
  196.         1
  197.         1
  198.         1
  199.         10
  200.         10
  201.         1
  202.     [spec]
  203.         0
  204.         1
  205.         
  206.         0
  207.         1
  208.         1
  209.         0
  210.         0
  211.         0
  212.         0
  213.     [nfmt]
  214.         272
  215.         1
  216.         3
  217.         .
  218.         ,
  219.         $
  220.     Body Text
  221.     0
  222.     0
  223. [tag]
  224.     Outline2
  225.     5
  226.     [fnt]
  227.         Times New Roman
  228.         200
  229.         0
  230.         49152
  231.     [algn]
  232.         1
  233.         1
  234.         216
  235.         0
  236.         0
  237.     [spc]
  238.         33
  239.         273
  240.         1
  241.         0
  242.         0
  243.         1
  244.         100
  245.     [brk]
  246.         4
  247.     [line]
  248.         8
  249.         0
  250.         1
  251.         0
  252.         1
  253.         1
  254.         1
  255.         10
  256.         10
  257.         1
  258.     [spec]
  259.         0
  260.         2
  261.         
  262.         0
  263.         1
  264.         1
  265.         0
  266.         16
  267.         0
  268.         0
  269.     [nfmt]
  270.         272
  271.         1
  272.         3
  273.         .
  274.         ,
  275.         $
  276.     Outline2
  277.     0
  278.     0
  279. [tag]
  280.     Outline3
  281.     6
  282.     [fnt]
  283.         Times New Roman
  284.         200
  285.         0
  286.         49152
  287.     [algn]
  288.         1
  289.         1
  290.         216
  291.         0
  292.         0
  293.     [spc]
  294.         33
  295.         273
  296.         1
  297.         0
  298.         0
  299.         1
  300.         100
  301.     [brk]
  302.         4
  303.     [line]
  304.         8
  305.         0
  306.         1
  307.         0
  308.         1
  309.         1
  310.         1
  311.         10
  312.         10
  313.         1
  314.     [spec]
  315.         0
  316.         3
  317.         
  318.         0
  319.         1
  320.         1
  321.         0
  322.         16
  323.         0
  324.         0
  325.     [nfmt]
  326.         272
  327.         1
  328.         3
  329.         .
  330.         ,
  331.         $
  332.     Outline3
  333.     0
  334.     0
  335. [tag]
  336.     Outline4
  337.     7
  338.     [fnt]
  339.         Times New Roman
  340.         200
  341.         0
  342.         49152
  343.     [algn]
  344.         1
  345.         1
  346.         216
  347.         0
  348.         0
  349.     [spc]
  350.         33
  351.         273
  352.         1
  353.         0
  354.         0
  355.         1
  356.         100
  357.     [brk]
  358.         4
  359.     [line]
  360.         8
  361.         0
  362.         1
  363.         0
  364.         1
  365.         1
  366.         1
  367.         10
  368.         10
  369.         1
  370.     [spec]
  371.         0
  372.         4
  373.         
  374.         0
  375.         1
  376.         1
  377.         0
  378.         16
  379.         0
  380.         0
  381.     [nfmt]
  382.         272
  383.         1
  384.         3
  385.         .
  386.         ,
  387.         $
  388.     Outline4
  389.     0
  390.     0
  391. [tag]
  392.     Outline5
  393.     8
  394.     [fnt]
  395.         Times New Roman
  396.         200
  397.         0
  398.         16384
  399.     [algn]
  400.         1
  401.         1
  402.         216
  403.         0
  404.         0
  405.     [spc]
  406.         33
  407.         273
  408.         1
  409.         0
  410.         0
  411.         1
  412.         100
  413.     [brk]
  414.         4
  415.     [line]
  416.         8
  417.         0
  418.         1
  419.         0
  420.         1
  421.         1
  422.         1
  423.         10
  424.         10
  425.         1
  426.     [spec]
  427.         0
  428.         5
  429.         
  430.         0
  431.         1
  432.         1
  433.         0
  434.         16
  435.         0
  436.         0
  437.     [nfmt]
  438.         272
  439.         1
  440.         3
  441.         .
  442.         ,
  443.         $
  444.     Outline5
  445.     0
  446.     0
  447. [l1]
  448.     0
  449. [edoc]
  450. @Function@<:#284,9360>'declares & defines
  451.  
  452. @Outline2@<:#240,9360>'string defines, to be localized
  453.  
  454. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define MyAppName    "Ami Pro Curved Text<:f><:f200,2Times New Roman,255,0,0>."<:f>
  455.  
  456. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define CurvedTextDlgText    "Curved Text"
  457.  
  458. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define CurvingStatusMsg    "Now curving {curvelen} characters.  This may take a moment."
  459.  
  460. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define err_cantfindapp        "Unable to find Freelance for Windows."
  461.  
  462. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define err_cantlaunchapp    "Unable to launch Freelance for Windows."
  463.  
  464. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define err_notextshaded    "You must first shade some text."
  465.  
  466. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define FLW_WINDOWMENU    "&Window"
  467.  
  468. @Outline3@<:#240,9360><:f200,2Times New Roman,255,0,0>define apptitle        "Freelance Graphics"
  469.  
  470. @Outline2@<:#240,9360>'string defines, not localized
  471.  
  472. @Outline3@<:#240,9360>define appclass    "flwapp"
  473.  
  474. @Outline3@<:#240,9360>define appmodule    "FLWMAIN"
  475.  
  476. @Outline3@<:#240,9360>define appname    "FLW"
  477.  
  478. @Outline3@<:#240,9360>define ERR_DIECLEANLY    -2
  479.  
  480. @Outline3@<:#240,9360>define FILE_ALREADYOPEN    1
  481.  
  482. @Outline3@<:#240,9360>define FILE_NOTOPEN        -1
  483.  
  484. @Outline3@<:#240,9360>define LotusAppSection    "Lotus Applications"
  485.  
  486. @Outline3@<:#240,9360>define LotusIniFile    "lotus.ini"
  487.  
  488. @Outline3@<:#240,9360>define orgfilename    "ONEORG.PRE"
  489.  
  490. @Outline3@<:#240,9360>define pasteformat    "Windows Metafile"
  491.  
  492. @Outline3@<:#240,9360>define salesmsgsmm    lotuspal.smm!salesmsg
  493.  
  494. @Outline3@<:#240,9360>define helpfile        "HELPPACK.HLP"
  495.  
  496. @Outline3@<:#240,9360>define helpnum    125
  497.  
  498. @Outline2@<:#240,9360>'private functions
  499.  
  500. @Outline3@<:#240,9360>declare box2(hdlg, id, val)
  501.  
  502. @Outline3@<:#240,9360>declare done()
  503.  
  504. @Outline3@<:#240,9360>declare onmenu(menu, item, casc)
  505.  
  506. @Outline3@<:#240,9360>declare freeglobals()
  507.  
  508. @Outline3@<:#240,9360>declare GetChildHandle(parentclass, childclass);
  509.  
  510. @Outline3@<:#240,9360>declare h_LoadLotusApp(Name, Module);
  511.  
  512. @Outline3@<:#240,9360>declare hideami(rect)
  513.  
  514. @Outline3@<:#240,9360>declare insertdata(hdlg, id, val)
  515.  
  516. @Outline3@<:#240,9360>define IsOKToRun(menuname)    GetInfo(217, 24, %1);
  517.  
  518. @Outline3@<:#240,9360>define MsgBox(msgtext)    Message(%1, myappname)
  519.  
  520. @Outline3@<:#240,9360>declare modframe()
  521.  
  522. @Outline3@<:#240,9360>declare newnow()
  523.  
  524. @Outline3@<:#240,9360>declare openfile()
  525.  
  526. @Outline3@<:#240,9360>declare setpagelayout()
  527.  
  528. @Outline3@<:#240,9360>declare showami(rect)
  529.  
  530. @Outline3@<:#240,9360>declare winproc(hdlg, id, val)
  531.  
  532. @Outline3@<:#240,9360>define WinHelp(hWnd, file, cmd, ptr)    DllCall("user,WinHelp,HHCHJ", %1, %2, %3, %4)
  533.  
  534. @Outline3@<:#240,9360>define HELP_CONTEXT    0x0001
  535.  
  536. @Outline3@<:#240,9360>define VK_F1            112
  537.  
  538. @Outline2@<:#240,9360>'api call defines
  539.  
  540. @Outline3@<:#480,9360>declare MyPostMessage(hwnd, msg, wparam, lparam)    'DllCall("User,PostMessage,HHHHJ",%1,%2,%3,%4)
  541.  
  542. @Outline3@<:#240,9360>Define EnableWindow() DllCall("user,EnableWindow,HHH", %1, %2)
  543.  
  544. @Outline3@<:#240,9360>Define FindWindow() DllCall("user,FindWindow,HCC", %1, %2)
  545.  
  546. @Outline3@<:#240,9360>Define GetActiveWindow() DllCall("user,GetActiveWindow,H")
  547.  
  548. @Outline3@<:#240,9360>Define GetClassName(hwnd, name, len) dllcall("user,GetClassName,HHCH", %1, %2, %3)
  549.  
  550. @Outline3@<:#240,9360>Define Getfocus() DllCall("user,GetFocus,H")
  551.  
  552. @Outline3@<:#240,9360>define GetMenu(HWND)    DllCall("user,GetMenu,HH", %1)
  553.  
  554. @Outline3@<:#240,9360>define GetMenuItemCount(HMENU)    DllCall("user,GetMenuItemCount,HH", %1)
  555.  
  556. @Outline3@<:#240,9360>define GetMenuItemID(HMENU, int)    DllCall("user,GetMenuItemID,LHH", %1, %2)
  557.  
  558. @Outline3@<:#480,9360>define GetMenuString(HMENU, WORD, LPSTR, int, WORD)    DllCall("user,GetMenuString,HHHFHH", %1, %2, %3, %4, %5)
  559.  
  560. @Outline3@<:#240,9360>Define GetModuleHandle() DllCall("kernel,GetModuleHandle,HC", %1)
  561.  
  562. @Outline3@<:#240,9360>define GetParent(hWnd) DllCall("user,GetParent,HH", %1)
  563.  
  564. @Outline3@<:#240,9360>define GetSubMenu(HMENU, int)    DllCall("user,GetSubMenu,HHH", %1, %2)
  565.  
  566. @Outline3@<:#240,9360>Define GetWindow(hwnd, cmd) dllcall("user,GetWindow,HHH", %1, %2)
  567.  
  568. @Outline3@<:#240,9360>DEFINE GetWindowrect()    DllCall("user,GetWindowRect,HHN",%1,%2)
  569.  
  570. @Outline3@<:#240,9360>Define GetWindowText(hwnd, lpsz, cbMax)    dllcall("user,GetWindowText,HHCH", %1, %2, %3)
  571.  
  572. @Outline3@<:#240,9360>define IsIconic(hWnd) DllCall("user,IsIconic,HH", %1)
  573.  
  574. @Outline3@<:#240,9360>define LoadCursor(hwnd, lpcursor)        DllCall("user,LoadCursor,HHC",%1, %2)
  575.  
  576. @Outline3@<:#240,9360>Define MoveWindow() DllCall("User,MoveWindow,HHHHHHA",%1,%2,%3,%4,%5,%6)
  577.  
  578. @Outline3@<:#480,9360>define PeekMessage(lpmsg, hwnd, uFilterFirst, uFilterLast, fuRemove)    DllCall("User,PostMessage,ACHHHH",%1,%2,%3,%4, %5)
  579.  
  580. @Outline3@<:#240,9360>Define PostMessage() DllCall("User,PostMessage,HHHHJ",%1,%2,%3,%4)
  581.  
  582. @Outline3@<:#240,9360>Define SendMessage(hwnd, message, wparam, lparao) Dllcall("user,SendMessage,JHHHJ", %1, %2, %3, %4)
  583.  
  584. @Outline3@<:#480,9360>Define SendMessageC(hwnd, message, wparam, lparao) Dllcall("user,SendMessage,HHHHC", %1, %2, %3, %4)
  585.  
  586. @Outline3@<:#240,9360>define SetCursor(hwnd)        DllCall("user,SetCursor,HH",%1)
  587.  
  588. @Outline3@<:#240,9360>Define SetFocus() DllCall("user,SetFocus,HH",%1)
  589.  
  590. @Outline3@<:#480,9360>define SetWindowPos(hwnd, hwndinsertafter, x, y, cx, cy, wflags) DllCall("user,SetWindowPos,HHHHHHHI", %1, %2, %3, %4, %5, %6, %7)
  591.  
  592. @Outline3@<:#240,9360>Define ShowWindow(hWnd, stuff) DllCall("user,ShowWindow,HHH", %1, %2)
  593.  
  594. @Outline2@<:#240,9360>'menu pick defines
  595.  
  596. @Outline3@<:#240,9360>define FLW_COPY        142
  597.  
  598. @Outline3@<:#240,9360>define FLW_CURVEDTEXT    307
  599.  
  600. @Outline3@<:#240,9360>define FLW_CURRENTPAGE    228
  601.  
  602. @Outline3@<:#240,9360>define FLW_EDITCLEAR    145
  603.  
  604. @Outline3@<:#240,9360>define FLW_INBW        269
  605.  
  606. @Outline3@<:#240,9360>define FLW_INCOLOR        270
  607.  
  608. @Outline3@<:#240,9360>define FLW_NEW        61
  609.  
  610. @Outline3@<:#240,9360>define FLW_NEWPAGE    241
  611.  
  612. @Outline3@<:#240,9360>define FLW_ORGCHART    5202
  613.  
  614. @Outline3@<:#240,9360>define FLW_OUTLINER    230
  615.  
  616. @Outline3@<:#240,9360>define FLW_PAGESORTER    229
  617.  
  618. @Outline3@<:#240,9360>define FLW_PASTE        144
  619.  
  620. @Outline3@<:#240,9360>define FLW_REMOVEPAGE    242
  621.  
  622. @Outline3@<:#240,9360>define FLW_SCREENSHOWRUN    481
  623.  
  624. @Outline3@<:#240,9360>define FLW_SELECTNONE    166
  625.  
  626. @Outline3@<:#240,9360>define FLW_SELECTALL    165
  627.  
  628. @Outline3@<:#240,9360>define FLW_SPEAKERNOTES    253
  629.  
  630. @Outline2@<:#240,9360>'api defines
  631.  
  632. @Outline3@<:#240,9360>Define GW_CHILD        5
  633.  
  634. @Outline3@<:#240,9360>Define GW_HWNDNEXT    2
  635.  
  636. @Outline3@<:#240,9360>define MF_BYPOSITION    0x0400
  637.  
  638. @Outline3@<:#240,9360>define NO_DUPS    0
  639.  
  640. @Outline3@<:#240,9360>define PM_NOREMOVE    0x0000
  641.  
  642. @Outline3@<:#240,9360>define SWP_NOMOVE        0x0002
  643.  
  644. @Outline3@<:#240,9360>define WM_COMMAND    0x0111
  645.  
  646. @Outline3@<:#240,9360>define WM_GETTEXT           0x000D
  647.  
  648. @Outline3@<:#240,9360>define WM_MDIMAXIMIZE    0x0225
  649.  
  650. @Outline3@<:#240,9360>Define WM_SETREDRAW            0x000B
  651.  
  652. @Function@<:#284,9360>function FLWcurve()
  653.  
  654. @Outline2@<:#240,9360>if GetOpenFileCount() << 1
  655.  
  656. @Outline2@<:#240,9360>    exit function
  657.  
  658. @Outline2@<:#240,9360>endif
  659.  
  660. @Outline2@<:#240,9360>TextToCurve=Curshade$()
  661.  
  662. @Outline2@<:#240,9360>rmac=GetRunningMacroFile$()
  663.  
  664. @Outline2@<:#240,9360>DlgKeyInterrupt(VK_F1, "{rmac}!helper")
  665.  
  666. @Outline2@<:#240,9360>filledit (8000, TextToCurve)
  667.  
  668. @Outline2@<:#240,9360>box=dialogbox(".", "curvetext")
  669.  
  670. @Outline2@<:#240,9360>if box = 0
  671.  
  672. @Outline2@<:#240,9360>    exit function
  673.  
  674. @Outline2@<:#240,9360>endif
  675.  
  676. @Outline2@<:#240,9360>TextToCurve=GetDialogField$(8000)
  677.  
  678. @Outline2@<:#240,9360>ClipboardWrite(TextToCurve, 1)
  679.  
  680. @Outline2@<:#240,9360>'if TextToCurve = ""
  681.  
  682. @Outline2@<:#240,9360>'    message(err_notextshaded, MyAppName)
  683.  
  684. @Outline2@<:#240,9360>'    exit function
  685.  
  686. @Outline2@<:#240,9360>'endif
  687.  
  688. @Outline2@<:#240,9360>curvelen=len(TextToCurve)
  689.  
  690. @Outline2@<:#240,9360>onerror endit
  691.  
  692. @Outline2@<:#240,9360>oncancel endit
  693.  
  694. @Outline2@<:#240,9360>ignorekeyboard(2)
  695.  
  696. @Outline2@<:#240,9360>dim rect(4)
  697.  
  698. @Outline2@<:#240,9360>focusnow=GetFocus()
  699.  
  700. @Outline2@<:#240,9360>hFLW = h_LoadLotusApp(appname, appmodule);
  701.  
  702. @Outline2@<:#240,9360>'pause(002)
  703.  
  704. @Outline2@<:#240,9360>'singlestep(1)
  705.  
  706. @Outline2@<:#240,9360>if hFLW = 0
  707.  
  708. @Outline2@<:#240,9360>    return 0
  709.  
  710. @Outline2@<:#240,9360>endif
  711.  
  712. @Outline2@<:#240,9360>rmac = getrunningmacrofile$()
  713.  
  714. @Outline2@<:#240,9360>'get handles to everything
  715.  
  716. @Outline3@<:#240,9360>hwndpro = findwindow("amiprownda", 0)
  717.  
  718. @Outline3@<:#240,9360>hIconBar = FindWindow("SmartIconBar", 0)
  719.  
  720. @Outline3@' PMM 5/19/93
  721.  
  722. @Outline3@' disable the iconbar
  723.  
  724. @Outline3@if isiconic(hFLW)
  725.  
  726. @Outline3@<:#240,9360>    appmaximize(appname)
  727.  
  728. @Outline3@<:#240,9360>endif
  729.  
  730. @Outline3@<+@><:#240,9360>pause(002)
  731.  
  732. @Outline2@<:#240,9360>dim size(4)
  733.  
  734. @Outline2@<:#240,9360>getwindowrect(hFLW, &size)
  735.  
  736. @Outline2@<:#240,9360>movewindow(hFLW, 0, -1160, 768, 80, 1)
  737.  
  738. @Outline2@<:#240,9360>openfile()
  739.  
  740. @Outline2@<:#240,9360>EnableWindow(hwndpro, 0)
  741.  
  742. @Outline2@EnableWindow(hIconBar, 0)
  743.  
  744. @Outline2@activateapp(appname)
  745.  
  746. @Outline2@<:#240,9360>'AppRestore(appname)
  747.  
  748. @Outline2@<:#240,9360>'send the menu picks
  749.  
  750. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9360>PostMessage(hFLW, WM_COMMAND, FLW_CURRENTPAGE, "")
  751.  
  752. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9360>PostMessage(hFLW, WM_COMMAND, FLW_SELECTALL, "")
  753.  
  754. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9360>PostMessage(hFLW, WM_COMMAND, FLW_EDITCLEAR, "")
  755.  
  756. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9360>PostMessage(hFLW, WM_COMMAND, FLW_SELECTNONE, "")
  757.  
  758. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9360>PostMessage(hFLW, WM_COMMAND, FLW_PASTE, "")
  759.  
  760. @Outline3@<:#240,9360>statusbarmsg(CurvingStatusMsg)
  761.  
  762. @Outline3@<+@><:#240,9360>PostMessage(hFLW, WM_COMMAND, FLW_INBW, "")
  763.  
  764. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9360>PostMessage(hFLW, WM_COMMAND, FLW_CURVEDTEXT, "")
  765.  
  766. @Outline4@<:I0,0,0,0><:S+-1><:#240,9360>pause(005)
  767.  
  768. @Outline4@<:#240,9360>defstr titletext;
  769.  
  770. @Outline4@<:#240,9360>while GetActiveWindow() != hflw
  771.  
  772. @Outline4@<:#240,9360>    hcancel=GetDlgItem(GetActiveWindow(), 2)
  773.  
  774. @Outline4@<:#240,9360>    hpreview=GetDlgItem(GetActiveWindow(), 10)
  775.  
  776. @Outline4@<:#240,9360>    GetWindowText(GetActiveWindow(), &titletext, 50)
  777.  
  778. @Outline4@<:#240,9360>    if titletext = CurvedTextDlgText
  779.  
  780. @Outline4@<:#240,9360>        EnableWindow(hcancel, 0)
  781.  
  782. @Outline4@<:I0,0,0,0><:S+-1><:#240,9360>        EnableWindow(hpreview, 0)
  783.  
  784. @Outline4@<:#240,9360>    endif
  785.  
  786. @Outline4@<:#240,9360>    pause(002)
  787.  
  788. @Outline4@<:#240,9360>wend
  789.  
  790. @Outline3@<:#240,9360>pause(005)
  791.  
  792. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9360>pause(005)
  793.  
  794. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9360>PostMessage(hFLW, WM_COMMAND, FLW_COPY, "")
  795.  
  796. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9360>PostMessage(hFLW, WM_COMMAND, FLW_INCOLOR, "")
  797.  
  798. @Outline3@<+@><:I0,0,0,0><:S+-1><:#240,9360>sendkeys("<[>esc]")
  799.  
  800. @Outline2@<:#240,9360>pause(008)
  801.  
  802. @Outline2@<:#240,9360>if curshade$()
  803.  
  804. @Outline2@<:#240,9360>    type("<[>del]")    'get rid of selected text
  805.  
  806. @Outline2@<:#240,9360>endif
  807.  
  808. @Outline2@<:#240,9360>type("<[>esc]<[>esc]<[>esc]")    'if we're in something (like a frame) get us out.
  809.  
  810. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9360>pastespecial(pasteformat)
  811.  
  812. @Outline2@<:#240,9360>FrameModInit( )
  813.  
  814. @Outline2@<:#240,9360>FrameModLines(0 1 1 0 16777215 0 0 0 0 0  )
  815.  
  816. @Outline2@<:#240,9360>FrameModType(536871040 0 ""   )
  817.  
  818. @Outline2@<:#240,9360>FrameModFinish( )
  819.  
  820. @Outline2@<+@><:#240,9360>endit:
  821.  
  822. @Outline2@<+@><:#240,9360>activateapp("")
  823.  
  824. @Outline2@<:#240,9360>cx = size(3) - size(1)
  825.  
  826. @Outline2@<:#240,9360>cy = size(4) - size(2)
  827.  
  828. @Outline2@<:#240,9360>movewindow(hFLW, size(1), size(2), cx, cy, 1)
  829.  
  830. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9360>EnableWindow(hwndpro, 1)
  831.  
  832. @Outline2@<+@><:I0,0,0,0><:S+-1>EnableWindow(hIconBar, 1)    ' pmm 5/19/03 -  enable the icon bar
  833.  
  834. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9360>SetFocus(focusnow)
  835.  
  836. @Outline2@<:I0,0,0,0><:S+-1><:#240,9360>statusbarmsg("")
  837.  
  838. @Outline2@<+@><:I0,0,0,0><:S+-1><:#240,9360>end function
  839.  
  840. @Function@<:#284,9360>function h_LoadLotusApp(name, module)
  841.  
  842. @Outline2@<:#240,9360>onerror endit
  843.  
  844. @Outline2@<:#240,9360>oncancel endit
  845.  
  846. @Outline2@<:#240,9360>hwnd =  findwindow(appclass, 0)
  847.  
  848. @Outline2@<:#240,9360>if hwnd = 0
  849.  
  850. @Outline2@<:#240,9360>    app = GetProfileString$(LotusAppSection, name, LotusIniFile)
  851.  
  852. @Outline2@<:#240,9360>    if app <<<;> ""
  853.  
  854. @Outline2@<:#240,9360>        offset1stspace=strchr(1, app, " ")
  855.  
  856. @Outline2@<:#240,9360>        app = strfield$(app, 1, " ")
  857.  
  858. @Outline2@<:#240,9360>        lotusappname=MID$(app, offset1stspace, len(app))    'DEZ
  859.  
  860. @Outline2@<:#240,9360>        'lotusappname = strfield$(app, 2, " ")
  861.  
  862. @Outline2@<:#240,9360>        if exec(app, "/q") << 32
  863.  
  864. @Outline2@<:#240,9360>            'MsgBox(err_cantlaunchapp)
  865.  
  866. @Outline2@<:#240,9360>            call salesmsgsmm(3)
  867.  
  868. @Outline2@<:#240,9360>            return 0
  869.  
  870. @Outline2@<:#240,9360>        endif
  871.  
  872. @Outline2@<:#240,9360>        pause(004)
  873.  
  874. @Outline2@<:#240,9360>    endif
  875.  
  876. @Outline2@<:#240,9360>    hwnd = findwindow(appclass, 0)
  877.  
  878. @Outline2@<:#240,9360>    if hwnd = 0
  879.  
  880. @Outline2@<:#240,9360>        call salesmsgsmm(3)
  881.  
  882. @Outline2@<:#240,9360>    endif
  883.  
  884. @Outline2@<:#240,9360>    return hwnd
  885.  
  886. @Outline2@<:#240,9360>endif
  887.  
  888. @Outline2@<:#240,9360>endit:
  889.  
  890. @Outline2@<:#240,9360>return hwnd
  891.  
  892. @Outline2@<:#240,9360>end function
  893.  
  894. @Function@<:#284,9360>function openfile()
  895.  
  896. @Outline2@<:#240,9360>'set variables
  897.  
  898. @Outline3@<:#240,9360>hflw=findwindow(appclass, 0)
  899.  
  900. @Outline3@<:#240,9360>isitopen=onmenu(FLW_WINDOWMENU, orgfilename, 0)
  901.  
  902. @Outline3@<:#240,9360>amidir=GetAmiDirectory$()
  903.  
  904. @Outline3@<:#240,9360>dde_openit = strcat$("<[><[>StdOpenDocument(", amidir, orgfilename, ")]")
  905.  
  906. @Outline3@<:#240,9360>dde_maxit = strcat$("<[><[>Maximize(", amidir, orgfilename, ")]")
  907.  
  908. @Outline2@<:#240,9360>ID = DDEInitiate(appname, "system")
  909.  
  910. @Outline2@<:#240,9360>if isitopen = FILE_ALREADYOPEN
  911.  
  912. @Outline2@<:#240,9360>    goto maxit
  913.  
  914. @Outline2@<:#240,9360>endif
  915.  
  916. @Outline2@<:#240,9360>res = DDEExecute(id, dde_openit) ' comm
  917.  
  918. @Outline2@<:#240,9360>maxit:
  919.  
  920. @Outline2@<:#240,9360>pause(003)
  921.  
  922. @Outline2@<:#240,9360>res = DDEExecute(id, dde_maxit) ' comm
  923.  
  924. @Outline2@<:#240,9360>if id <;> 0
  925.  
  926. @Outline2@<:#240,9360>    DDETerminate(id)
  927.  
  928. @Outline2@<:#240,9360>endif
  929.  
  930. @Outline2@<:#240,9360>'childfocus=GetFocus()
  931.  
  932. @Outline2@<:#240,9360>'mdiclient=GetParent(childfocus)
  933.  
  934. @Outline2@<:#240,9360>'AppSendMessage(mdiclient, WM_MDIMAXIMIZE, childfocus, "")
  935.  
  936. @Outline2@<:#240,9360>end function
  937.  
  938. @Function@<:#284,9360>function MyPostMessage(hwnd, msg, wparam, lparam)
  939.  
  940. @Outline2@<:#240,9360>hflw=findwindow(appclass, 0)
  941.  
  942. @Outline2@<:#240,9360>PostMessage(hwnd, msg, wparam, lparam)
  943.  
  944. @Outline2@<:#240,9360>pause(005)
  945.  
  946. @Outline2@<:#240,9360>while GetActiveWindow() != hflw
  947.  
  948. @Outline2@<:#240,9360>    pause(002)
  949.  
  950. @Outline2@<:#240,9360>wend
  951.  
  952. @Outline2@<:#240,9360>end function
  953.  
  954. @Function@<:#284,9360>function onmenu(menu, item, casc)
  955.  
  956. @Outline2@<:#240,9360>isthistheone=0
  957.  
  958. @Outline2@<:#240,9360>defstr menuitemnum;
  959.  
  960. @Outline2@<:#240,9360>defstr cascmenuitemnum;
  961.  
  962. @Outline2@<:#240,9360>hwnd=findwindow(appclass, 0)
  963.  
  964. @Outline2@<:#240,9360>hmenubar=GetMenu(hwnd)
  965.  
  966. @Outline2@<:#240,9360>'get handle to menu
  967.  
  968. @Outline3@<:#240,9360>nummenus=getmenuitemcount(hmenubar)
  969.  
  970. @Outline3@<:#240,9360>if nummenus << 1
  971.  
  972. @Outline3@<:#240,9360>    message ("Cannot locate the menu bar.")
  973.  
  974. @Outline3@<:#240,9360>    goto out
  975.  
  976. @Outline3@<:#240,9360>endif
  977.  
  978. @Outline3@<:#240,9360>for i = 0 to nummenus - 1
  979.  
  980. @Outline3@<:#240,9360>    GetMenuString(hmenubar, i, &isthistheone,  25, MF_BYPOSITION)
  981.  
  982. @Outline3@<:#240,9360>    menulen=len(menu)
  983.  
  984. @Outline3@<:#240,9360>    if ucase$(left$(isthistheone, menulen)) = ucase$(left$(menu, menulen))
  985.  
  986. @Outline3@<:#240,9360>        menunum=i
  987.  
  988. @Outline3@<:#240,9360>    endif
  989.  
  990. @Outline3@<:#240,9360>next
  991.  
  992. @Outline3@<:#240,9360>hmenu=getsubmenu(hmenubar, menunum)
  993.  
  994. @Outline2@<:#240,9360>'get position or handle of item
  995.  
  996. @Outline3@<:#240,9360>'get position of item
  997.  
  998. @Outline4@<:#240,9360>    extra = 0
  999.  
  1000. @Outline4@<:#240,9360>    menuitemnum = 0
  1001.  
  1002. @Outline4@<:#240,9360>    cascmenuitemnum = 0
  1003.  
  1004. @Outline4@<:#240,9360>    nummenuitems=getmenuitemcount(hmenu)
  1005.  
  1006. @Outline4@<:#240,9360>    if nummenuitems << 1
  1007.  
  1008. @Outline4@<:#240,9360>        message ("Cannot locate the correct menu.")
  1009.  
  1010. @Outline4@<:#240,9360>        goto out
  1011.  
  1012. @Outline4@<:#240,9360>    endif
  1013.  
  1014. @Outline4@<:#240,9360>    for i= 0 to (nummenuitems - 1)
  1015.  
  1016. @Outline4@<:#240,9360>        GetMenuString(hmenu, i, &isthistheone,  25, MF_BYPOSITION)
  1017.  
  1018. @Outline4@<:#240,9360>        itemlen=len(item)
  1019.  
  1020. @Outline4@<:#240,9360>        length=len(isthistheone)
  1021.  
  1022. @Outline4@<:#240,9360>        if length << 1 and menuitemnum = 0
  1023.  
  1024. @Outline4@<:#240,9360>            extra=extra + 1
  1025.  
  1026. @Outline4@<:#240,9360>        endif
  1027.  
  1028. @Outline4@<:#240,9360>        text=ucase$(isthistheone)
  1029.  
  1030. @Outline4@<:#240,9360>        pattern=ucase$(item)
  1031.  
  1032. @Outline4@<:#240,9360>        'if ucase$(left$(item, itemlen)) = ucase$(left$(isthistheone, itemlen))
  1033.  
  1034. @Outline4@<:#240,9360>        if Instr(1, Text, Pattern) != 0
  1035.  
  1036. @Outline4@<:#240,9360>            return FILE_ALREADYOPEN
  1037.  
  1038. @Outline4@<:#240,9360>            menuitemnum=i
  1039.  
  1040. @Outline4@<:#240,9360>            break
  1041.  
  1042. @Outline4@<:#240,9360>        endif
  1043.  
  1044. @Outline4@<:#240,9360>    next
  1045.  
  1046. @Outline4@<:#240,9360>    'couldn't find it
  1047.  
  1048. @Outline4@<:#240,9360>    return FILE_NOTOPEN
  1049.  
  1050. @Outline4@<:#240,9360>    menuitemnum=menuitemnum - extra
  1051.  
  1052. @Outline3@<:#240,9360>'get handle to casc menu
  1053.  
  1054. @Outline4@<:#240,9360>numcascmenus=getmenuitemcount(hmenu)
  1055.  
  1056. @Outline4@<:#240,9360>if numcascmenus << 1
  1057.  
  1058. @Outline4@<:#240,9360>    goto out
  1059.  
  1060. @Outline4@<:#240,9360>endif
  1061.  
  1062. @Outline4@<:#240,9360>for i = 0 to numcascmenus - 1
  1063.  
  1064. @Outline4@<:#240,9360>    GetMenuString(hmenu, i, &isthistheone,  25, MF_BYPOSITION)
  1065.  
  1066. @Outline4@<:#240,9360>    cascmenulen=len(item)
  1067.  
  1068. @Outline4@<:#240,9360>    if ucase$(left$(isthistheone, cascmenulen)) = ucase$(left$(item, cascmenulen))
  1069.  
  1070. @Outline4@<:#240,9360>        cascmenunum=i
  1071.  
  1072. @Outline4@<:#240,9360>    endif
  1073.  
  1074. @Outline4@<:#240,9360>next
  1075.  
  1076. @Outline4@<:#240,9360>hcascmenu=getsubmenu(hmenu, cascmenunum)
  1077.  
  1078. @Outline3@<:#240,9360>'get position of casc item
  1079.  
  1080. @Outline4@<:#240,9360>    extra = 0
  1081.  
  1082. @Outline4@<:#240,9360>    numcascmenuitems=getmenuitemcount(hcascmenu)
  1083.  
  1084. @Outline4@<:#240,9360>    if numcascmenuitems << 1
  1085.  
  1086. @Outline4@<:#240,9360>        goto out
  1087.  
  1088. @Outline4@<:#240,9360>    endif
  1089.  
  1090. @Outline4@<:#240,9360>    for i= 0 to (numcascmenuitems - 1)
  1091.  
  1092. @Outline4@<:#240,9360>        GetMenuString(hcascmenu, i, &isthistheone,  25, MF_BYPOSITION)
  1093.  
  1094. @Outline4@<:#240,9360>        cascitemlen=len(casc)
  1095.  
  1096. @Outline4@<:#240,9360>        length=len(isthistheone)
  1097.  
  1098. @Outline4@<:#240,9360>        if length << 1 and cascmenuitemnum = 0
  1099.  
  1100. @Outline4@<:#240,9360>            extra=extra + 1
  1101.  
  1102. @Outline4@<:#240,9360>        endif
  1103.  
  1104. @Outline4@<:#240,9360>        if ucase$(left$(casc, cascitemlen)) = ucase$(left$(isthistheone, cascitemlen))
  1105.  
  1106. @Outline4@<:#240,9360>            cascmenuitemnum=i
  1107.  
  1108. @Outline4@<:#240,9360>            break
  1109.  
  1110. @Outline4@<:#240,9360>        endif
  1111.  
  1112. @Outline4@<:#240,9360>    next
  1113.  
  1114. @Outline4@<:#240,9360>    cascmenuitemnum=cascmenuitemnum - extra
  1115.  
  1116. @Outline2@<:#240,9360>'return numbers
  1117.  
  1118. @Outline3@<:#240,9360>out:
  1119.  
  1120. @Outline3@<:#240,9360>getdist=strcat$(menuitemnum, ", ", cascmenuitemnum, ",",  casc)
  1121.  
  1122. @Outline3@<:#240,9360>hourglass(0)
  1123.  
  1124. @Outline2@<:#240,9360>end function<:>
  1125.  
  1126. @Function@<:#284,9360>function helper()
  1127.  
  1128. @Outline2@<:#240,9360>prohWnd = FindWindow("AmiProWndA", 0)
  1129.  
  1130. @Outline2@<:#240,9360>fullhelpfile = strcat$(GetAmiDirectory$(), helpfile)
  1131.  
  1132. @Outline2@<:#240,9360>WinHelp (prohWnd, fullhelpfile, HELP_CONTEXT, helpnum)    
  1133.  
  1134. @Outline2@<:#240,9360>end function
  1135.  
  1136. @Function@<:#284,9360>DIALOG    curvetext
  1137.  
  1138. @Outline2@<:#240,9360>-2134376448    4    52    64    190    44    ""    "AmiDialog"    "Curved Text"
  1139.  
  1140. @Outline2@<:#240,9360>FONT 8 "Helv"
  1141.  
  1142. @Outline2@<:#240,9360>6    20    126    12    8000    1350631552    "edit"    ""    0 
  1143.  
  1144. @Outline2@<:#240,9360>144    4    40    14    1    1342373889    "button"    "OK"    0 
  1145.  
  1146. @Outline2@<:#240,9360>144    22    40    14    2    1342373888    "button"    "Cancel"    0 
  1147.  
  1148. @Outline2@<:#240,9360>6    6    114    10    1000    1342177280    "static"    "Type the text you wish to curve."    0 
  1149.  
  1150. @Outline2@<:#240,9360>END DIALOG
  1151.  
  1152. >
  1153.  
  1154. [Embedded]
  1155. 00023027
  1156. >
  1157. [macsum] 7
  1158. FLWcurve 0 0 16 101
  1159. h_LoadLotusApp 2266 2 5 195
  1160. openfile 2814 0 8 222
  1161. MyPostMessage 3238 4 2 244
  1162. onmenu 3468 3 24 252
  1163. helper 5723 0 3 338
  1164. curvetext 5890 0 -1 343
  1165. [macse]
  1166. 14 FLWcurve
  1167. 0 1050
  1168. 13
  1169. 5 1
  1170. 18 5
  1171. 11 00000061
  1172. 6 0
  1173. 15
  1174. 9
  1175. 0 24
  1176. 13
  1177. 8 1
  1178. 0 802
  1179. 13
  1180. 8 2
  1181. 0 47 112 "{2}!helper"
  1182. 0 31 8000 "{1}"
  1183. 0 26 "." "curvetext"
  1184. 13
  1185. 8 3
  1186. 6 3
  1187. 5 0
  1188. 18 0
  1189. 11 00000204
  1190. 6 0
  1191. 15
  1192. 9
  1193. 0 27 8000
  1194. 13
  1195. 8 1
  1196. 0 1038 "{1}" 1
  1197. 0 14 "{1}"
  1198. 13
  1199. 8 4
  1200. 20 00001968
  1201. 19 00001968
  1202. 0 32 2
  1203. 5 4
  1204. 21 5 [X]
  1205. 0 284 "user,GetFocus,H"
  1206. 13
  1207. 8 6
  1208. 16 h_LoadLotusApp "FLW" "FLWMAIN"
  1209. 13
  1210. 8 7
  1211. 6 7
  1212. 5 0
  1213. 18 0
  1214. 11 00000429
  1215. 5 0
  1216. 15
  1217. 9
  1218. 0 802
  1219. 13
  1220. 8 2
  1221. 0 284 "user,FindWindow,HCC" "amiprownda" 0
  1222. 13
  1223. 8 8
  1224. 0 284 "user,FindWindow,HCC" "SmartIconBar" 0
  1225. 13
  1226. 8 9
  1227. 0 284 "user,IsIconic,HH" "{7}"
  1228. 13
  1229. 11 00000616
  1230. 0 1029 "FLW"
  1231. 0 274 002
  1232. 5 4
  1233. 21 10 [X]
  1234. 0 284 "user,GetWindowRect,HHN" "{7}" &10
  1235. 0 284 "User,MoveWindow,HHHHHHA" "{7}" 0 -1160 768 80 1
  1236. 16 openfile
  1237. 0 284 "user,EnableWindow,HHH" "{8}" 0
  1238. 0 284 "user,EnableWindow,HHH" "{9}" 0
  1239. 0 38 "FLW"
  1240. 0 284 "User,PostMessage,HHHHJ" "{7}" 273 228 ""
  1241. 0 284 "User,PostMessage,HHHHJ" "{7}" 273 165 ""
  1242. 0 284 "User,PostMessage,HHHHJ" "{7}" 273 145 ""
  1243. 0 284 "User,PostMessage,HHHHJ" "{7}" 273 166 ""
  1244. 0 284 "User,PostMessage,HHHHJ" "{7}" 273 144 ""
  1245. 0 789 "Now curving {4} characters.  This may take a moment."
  1246. 0 284 "User,PostMessage,HHHHJ" "{7}" 273 269 ""
  1247. 0 284 "User,PostMessage,HHHHJ" "{7}" 273 307 ""
  1248. 0 274 005
  1249. 0 284 "user,GetActiveWindow,H"
  1250. 13
  1251. 6 7
  1252. 18 1
  1253. 11 00001663
  1254. 0 284 "user,GetActiveWindow,H"
  1255. 13
  1256. 0 44 [X] 2
  1257. 13
  1258. 8 12
  1259. 0 284 "user,GetActiveWindow,H"
  1260. 13
  1261. 0 44 [X] 10
  1262. 13
  1263. 8 13
  1264. 0 284 "user,GetActiveWindow,H"
  1265. 13
  1266. 0 284 "user,GetWindowText,HHCH" [X] &11 50
  1267. 6 11
  1268. 7 "Curved Text"
  1269. 18 0
  1270. 11 00001639
  1271. 0 284 "user,EnableWindow,HHH" "{12}" 0
  1272. 0 284 "user,EnableWindow,HHH" "{13}" 0
  1273. 0 274 002
  1274. 10 00001260
  1275. 0 274 005
  1276. 0 274 005
  1277. 0 284 "User,PostMessage,HHHHJ" "{7}" 273 142 ""
  1278. 0 284 "User,PostMessage,HHHHJ" "{7}" 273 270 ""
  1279. 0 36 "[27]"
  1280. 0 274 008
  1281. 0 24
  1282. 13
  1283. 11 00001842
  1284. 0 6 "[46]"
  1285. 0 6 "[27][27][27]"
  1286. 2 588 1 "Windows Metafile"
  1287. 2 421 1
  1288. 2 416 1 0 1 1 0 16777215 0 0 0 0 0
  1289. 2 417 1 536871040 0 ""
  1290. 2 420 1
  1291. 0 38 ""
  1292. 5 3
  1293. 22 10
  1294. 5 1
  1295. 22 10
  1296. 3 1
  1297. 8 14
  1298. 5 4
  1299. 22 10
  1300. 5 2
  1301. 22 10
  1302. 3 1
  1303. 8 15
  1304. 5 1
  1305. 22 10
  1306. 5 2
  1307. 22 10
  1308. 0 284 "User,MoveWindow,HHHHHHA" "{7}" [X] [X] "{14}" "{15}" 1
  1309. 0 284 "user,EnableWindow,HHH" "{8}" 1
  1310. 0 284 "user,EnableWindow,HHH" "{9}" 1
  1311. 0 284 "user,SetFocus,HH" "{6}"
  1312. 0 789 ""
  1313. 6 0
  1314. 15
  1315. 9
  1316. 14 h_LoadLotusApp
  1317. 20 00000524
  1318. 19 00000524
  1319. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1320. 13
  1321. 8 3
  1322. 6 3
  1323. 5 0
  1324. 18 0
  1325. 11 00000524
  1326. 0 286 "Lotus Applications" "{0}" "lotus.ini"
  1327. 13
  1328. 8 4
  1329. 6 4
  1330. 7 ""
  1331. 18 1
  1332. 11 00000406
  1333. 0 13 1 "{4}" " "
  1334. 13
  1335. 8 5
  1336. 0 20 "{4}" 1 " "
  1337. 13
  1338. 8 4
  1339. 0 14 "{4}"
  1340. 13
  1341. 0 15 "{4}" "{5}" [X]
  1342. 13
  1343. 8 6
  1344. 0 22 "{4}" "/q"
  1345. 13
  1346. 5 32
  1347. 18 5
  1348. 11 00000395
  1349. 16 lotuspal.smm!salesmsg 3
  1350. 5 0
  1351. 15
  1352. 9
  1353. 0 274 004
  1354. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1355. 13
  1356. 8 3
  1357. 6 3
  1358. 5 0
  1359. 18 0
  1360. 11 00000512
  1361. 16 lotuspal.smm!salesmsg 3
  1362. 6 3
  1363. 15
  1364. 9
  1365. 6 3
  1366. 15
  1367. 9
  1368. 6 2
  1369. 15
  1370. 9
  1371. 14 openfile
  1372. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1373. 13
  1374. 8 1
  1375. 16 onmenu "&Window" "ONEORG.PRE" 0
  1376. 13
  1377. 8 2
  1378. 0 798
  1379. 13
  1380. 8 3
  1381. 0 16 "[[StdOpenDocument(" "{3}" "ONEORG.PRE" ")]"
  1382. 13
  1383. 8 4
  1384. 0 16 "[[Maximize(" "{3}" "ONEORG.PRE" ")]"
  1385. 13
  1386. 8 5
  1387. 0 8 "FLW" "system"
  1388. 13
  1389. 8 6
  1390. 6 2
  1391. 5 1
  1392. 18 0
  1393. 11 00000307
  1394. 10 00000334
  1395. 0 11 "{6}" "{4}"
  1396. 13
  1397. 8 7
  1398. 0 274 003
  1399. 0 11 "{6}" "{5}"
  1400. 13
  1401. 8 7
  1402. 6 6
  1403. 5 0
  1404. 18 3
  1405. 11 00000412
  1406. 0 9 "{6}"
  1407. 6 0
  1408. 15
  1409. 9
  1410. 14 MyPostMessage
  1411. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1412. 13
  1413. 8 5
  1414. 0 284 "User,PostMessage,HHHHJ" "{0}" "{1}" "{2}" "{3}"
  1415. 0 274 005
  1416. 0 284 "user,GetActiveWindow,H"
  1417. 13
  1418. 6 5
  1419. 18 1
  1420. 11 00000218
  1421. 0 274 002
  1422. 10 00000134
  1423. 6 4
  1424. 15
  1425. 9
  1426. 14 onmenu
  1427. 5 0
  1428. 8 4
  1429. 0 284 "user,FindWindow,HCC" "flwapp" 0
  1430. 13
  1431. 8 7
  1432. 0 284 "user,GetMenu,HH" "{7}"
  1433. 13
  1434. 8 8
  1435. 0 284 "user,GetMenuItemCount,HH" "{8}"
  1436. 13
  1437. 8 9
  1438. 6 9
  1439. 5 1
  1440. 18 5
  1441. 11 00000236
  1442. 0 3 "Cannot locate the menu bar."
  1443. 10 00002191
  1444. 5 0
  1445. 8 10
  1446. 6 9
  1447. 5 1
  1448. 3 1
  1449. 6 10
  1450. 18 2
  1451. 12 00000335
  1452. 10 00000536
  1453. 5 1
  1454. 6 10
  1455. 3 0
  1456. 8 10
  1457. 10 00000247
  1458. 0 284 "user,GetMenuString,HHHFHH" "{8}" "{10}" &4 25 1024
  1459. 0 14 "{0}"
  1460. 13
  1461. 8 11
  1462. 0 806 "{4}" "{11}"
  1463. 13
  1464. 0 18 [X]
  1465. 13
  1466. 0 806 "{0}" "{11}"
  1467. 13
  1468. 0 18 [X]
  1469. 13
  1470. 18 0
  1471. 11 00000523
  1472. 6 10
  1473. 8 12
  1474. 10 00000300
  1475. 0 284 "user,GetSubMenu,HHH" "{8}" "{12}"
  1476. 13
  1477. 8 13
  1478. 5 0
  1479. 8 14
  1480. 5 0
  1481. 8 5
  1482. 5 0
  1483. 8 6
  1484. 0 284 "user,GetMenuItemCount,HH" "{13}"
  1485. 13
  1486. 8 15
  1487. 6 15
  1488. 5 1
  1489. 18 5
  1490. 11 00000752
  1491. 0 3 "Cannot locate the correct menu."
  1492. 10 00002191
  1493. 5 0
  1494. 8 10
  1495. 6 15
  1496. 5 1
  1497. 3 1
  1498. 6 10
  1499. 18 2
  1500. 12 00000852
  1501. 10 00001173
  1502. 5 1
  1503. 6 10
  1504. 3 0
  1505. 8 10
  1506. 10 00000763
  1507. 0 284 "user,GetMenuString,HHHFHH" "{13}" "{10}" &4 25 1024
  1508. 0 14 "{1}"
  1509. 13
  1510. 8 16
  1511. 0 14 "{4}"
  1512. 13
  1513. 8 17
  1514. 6 17
  1515. 5 1
  1516. 18 5
  1517. 6 5
  1518. 5 0
  1519. 18 0
  1520. 1 1
  1521. 11 00001029
  1522. 6 14
  1523. 5 1
  1524. 3 0
  1525. 8 14
  1526. 0 18 "{4}"
  1527. 13
  1528. 8 18
  1529. 0 18 "{1}"
  1530. 13
  1531. 8 19
  1532. 0 808 1 "{18}" "{19}"
  1533. 13
  1534. 5 0
  1535. 18 1
  1536. 11 00001160
  1537. 5 1
  1538. 15
  1539. 9
  1540. 6 10
  1541. 8 5
  1542. 10 00001173
  1543. 10 00000817
  1544. 5 -1
  1545. 15
  1546. 9
  1547. 6 5
  1548. 6 14
  1549. 3 1
  1550. 8 5
  1551. 0 284 "user,GetMenuItemCount,HH" "{13}"
  1552. 13
  1553. 8 20
  1554. 6 20
  1555. 5 1
  1556. 18 5
  1557. 11 00001301
  1558. 10 00002191
  1559. 5 0
  1560. 8 10
  1561. 6 20
  1562. 5 1
  1563. 3 1
  1564. 6 10
  1565. 18 2
  1566. 12 00001401
  1567. 10 00001603
  1568. 5 1
  1569. 6 10
  1570. 3 0
  1571. 8 10
  1572. 10 00001312
  1573. 0 284 "user,GetMenuString,HHHFHH" "{13}" "{10}" &4 25 1024
  1574. 0 14 "{1}"
  1575. 13
  1576. 8 21
  1577. 0 806 "{4}" "{21}"
  1578. 13
  1579. 0 18 [X]
  1580. 13
  1581. 0 806 "{1}" "{21}"
  1582. 13
  1583. 0 18 [X]
  1584. 13
  1585. 18 0
  1586. 11 00001590
  1587. 6 10
  1588. 8 22
  1589. 10 00001366
  1590. 0 284 "user,GetSubMenu,HHH" "{13}" "{22}"
  1591. 13
  1592. 8 23
  1593. 5 0
  1594. 8 14
  1595. 0 284 "user,GetMenuItemCount,HH" "{23}"
  1596. 13
  1597. 8 24
  1598. 6 24
  1599. 5 1
  1600. 18 5
  1601. 11 00001761
  1602. 10 00002191
  1603. 5 0
  1604. 8 10
  1605. 6 24
  1606. 5 1
  1607. 3 1
  1608. 6 10
  1609. 18 2
  1610. 12 00001861
  1611. 10 00002170
  1612. 5 1
  1613. 6 10
  1614. 3 0
  1615. 8 10
  1616. 10 00001772
  1617. 0 284 "user,GetMenuString,HHHFHH" "{23}" "{10}" &4 25 1024
  1618. 0 14 "{2}"
  1619. 13
  1620. 8 25
  1621. 0 14 "{4}"
  1622. 13
  1623. 8 17
  1624. 6 17
  1625. 5 1
  1626. 18 5
  1627. 6 6
  1628. 5 0
  1629. 18 0
  1630. 1 1
  1631. 11 00002038
  1632. 6 14
  1633. 5 1
  1634. 3 0
  1635. 8 14
  1636. 0 806 "{2}" "{25}"
  1637. 13
  1638. 0 18 [X]
  1639. 13
  1640. 0 806 "{4}" "{25}"
  1641. 13
  1642. 0 18 [X]
  1643. 13
  1644. 18 0
  1645. 11 00002157
  1646. 6 10
  1647. 8 6
  1648. 10 00002170
  1649. 10 00001826
  1650. 6 6
  1651. 6 14
  1652. 3 1
  1653. 8 6
  1654. 0 16 "{5}" ", " "{6}" "," "{2}"
  1655. 13
  1656. 8 26
  1657. 0 296 0
  1658. 6 3
  1659. 15
  1660. 9
  1661. 14 helper
  1662. 0 284 "user,FindWindow,HCC" "AmiProWndA" 0
  1663. 13
  1664. 8 1
  1665. 0 798
  1666. 13
  1667. 0 16 [X] "HELPPACK.HLP"
  1668. 13
  1669. 8 2
  1670. 0 284 "user,WinHelp,HHCHJ" "{1}" "{2}" 1 125
  1671. 6 0
  1672. 15
  1673. 9
  1674. DIALOG curvetext
  1675. -2134376448 4 52 64 190 44 "" "AmiDialog" "Curved Text" 
  1676. FONT 8 "Helv" 
  1677. 6 20 126 12 8000 1350631552 "edit" "" 0 
  1678. 144 4 40 14 1 1342373889 "button" "OK" 0 
  1679. 144 22 40 14 2 1342373888 "button" "Cancel" 0 
  1680. 6 6 114 10 1000 1342177280 "static" "Type the text you wish to curve." 0 
  1681. 00023052
  1682.